home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / NOTES / SMART-HOST < prev    next >
Encoding:
Internet Message Format  |  1992-06-27  |  2.8 KB

  1. To: gst@gnosys.svle.ma.us (Gary S. Trujillo)
  2. Subject: Re: Smail3 problems
  3. Reply-To: tron@veritas.com
  4. Organization: VERITAS Software Corp.
  5.  
  6. >I wasn't sure where to put the "paths" file, since I still don't understand
  7. >some very basic things.  By the way, thanks very much for the new "Instal-
  8. >lation and Administration Guide."  It helps me to understand more than I was
  9. >able to get out of the previous set of documents, but it still doesn't give
  10. >definitions of basic terms, like "router" "transport" and "director."  Are
  11. >these standard terms?  Is there a book or something that will give me a basic
  12. >understanding of what these terms mean in the sense in which you're using them?
  13.  
  14. Basic definitions:
  15.  
  16. router:    a rule (based on a router driver, which is a set of C functions,
  17.     that implement a class of routers) for matching hostnames and
  18.     determining which transport to use for delivering to that host.
  19.  
  20. director: a rule (based on a director driver) which takes a local
  21.     address and transforms into a set of new addresses (e.g.,
  22.     alias exansion) or that assigns it to a transport for delivery
  23.     (e.g., delivery to local users).
  24.  
  25. transport: a rule (based on a transport driver) defining how to deliver
  26.     a message to an address that was matched by a router or a
  27.     director.
  28.  
  29. >I think I about have things set up properly now, but I can't seem to configure
  30. >the smarthost router properly.  I attempted to follow the instructions I found
  31. >in src/conf.h, but it appears from the output I get from test runs that smail
  32. >is attempting to find a pathalias file:
  33.  
  34. Smail looks for paths files by default.  However, also by default, if
  35. it doesn't find a paths file, it ignores it rather than failing.  The
  36. exact filenames depend upon the PATHS_PROTO that you set in your EDITME
  37. file.  The default, bsearch, will look for a file called:
  38.  
  39.     /usr/lib/smail/paths.sort
  40.  
  41. which contains a sorted list of lines of the form:
  42.  
  43.     host    path!%s
  44.  
  45. or:
  46.  
  47.     .domain    path!%s
  48.  
  49. such files can be generated from the map data sent out through the
  50. newsgroup comp.mail.maps.  They can also be generated by hand.  Small
  51. paths files generated by hand can be quite useful for describing local
  52. connectivity information.
  53.  
  54. The smarthost router is configured in by default, and can be enabled
  55. by creating a file /usr/lib/smail/config containing a line such as:
  56.  
  57.     smart_path=uunet
  58.  
  59. The value for the smart_path parameter is a !-separated list of
  60. hostnames defining the path through which all mail to otherwise
  61. unrecognized hostnames will be sent.
  62.  
  63. Typically, all you should need to configure, if you wish to use defaults
  64. for most everything, is your domain name, your os type, and the
  65. smart_path value in your config file.  The default configuration does
  66. allow you to create additional files, but if those files don't exist,
  67. they are ignored.
  68. -- 
  69.     tron |-<=>-|        ARPAnet:  veritas!tron@apple.com
  70.       tron@veritas.com        UUCPnet:  {apple,pyramid}!veritas!tron
  71.